﻿using WeChat.Api.Model.CreateOrder;

namespace PARK.Consumer.Interfaces.WechatRecharge
{
    public interface IWechatRechargeService
    {
        /// <summary>
        /// 更新订单支付结果
        /// </summary>
        /// <param name="OrderId"></param>
        /// <param name="PayResult"></param>
        /// <param name="transaction_id"></param>
        /// <param name="payway"></param>
        /// <returns></returns>
        int UpdateOrderPayStatus(string OrderId, string PayResult, string transaction_id, int payway);

        /// <summary>
        /// 收到退款通知,更新数据
        /// </summary>
        /// <param name="redfundModel"></param>
        /// <returns></returns>
        int UpdateOrderRedfundStatus(ReturnReFundNotifyModel redfundModel);
    }
}